<?php
/**
 * @version 0.8.3 2010-10-07
 * @package Joomla
 * @subpackage LeagueResults
 * @copyright (C)  2008, 2009, 2010 Henryk Drozd
 * @license GNU/GPL, see LICENSE.php
 * LeagueResults is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License 2
 * as published by the Free Software Foundation.

 * LeagueResults is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
defined('_JEXEC') or die('Restricted access');

?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
	<table cellspacing="0" cellpadding="0" border="0" width="100%">
		<tr>
			<td valign="top">
				<table  class="adminform">
					<tr>
						<td>
							<label for="name">
								<?php echo JText::_( 'NAME' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="name" value="<?php echo $this->row->name; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="shortname">
								<?php echo JText::_( 'SHORTNAME' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="shortname" value="<?php echo $this->row->shortname; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="city">
								<?php echo JText::_( 'CITY' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="city" value="<?php echo $this->row->city; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="address">
								<?php echo JText::_( 'ADDRESS' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="address1" value="<?php echo $this->row->address1; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
					<td></td>
						<td>
							<input name="address2" value="<?php echo $this->row->address2; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="postcode">
								<?php echo JText::_( 'POSTCODE' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="postcode" value="<?php echo $this->row->postcode; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="contact_person">
								<?php echo JText::_( 'CONTACT_PERSON' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="contact_person" value="<?php echo $this->row->contact_person; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="phone">
								<?php echo JText::_( 'PHONE' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="phone" value="<?php echo $this->row->phone; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="email">
								<?php echo JText::_( 'EMAIL' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="email" value="<?php echo $this->row->email; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					<tr>
						<td>
							<label for="url">
								<?php echo JText::_( 'URL' ).':'; ?>
							</label>
						</td>
						<td>
							<input name="url" value="<?php echo $this->row->url; ?>" size="50" maxlength="100" />
						</td>
					</tr>
					
					<tr>
						<td>
							<label for="published">
								<?php echo JText::_( 'PUBLISHED' ).':'; ?>
							</label>
						</td>
						<td>
							<?php
							$html = JHTML::_('select.booleanlist', 'published', 'class="inputbox"', $this->row->published );
							echo $html;
							?>
						</td>
					</tr></table>
<?php echo JHTML::_( 'form.token' ); ?>
<input type="hidden" name="option" value="com_lr" />
<input type="hidden" name="id" value="<?php echo $this->row->id; ?>" />
<input type="hidden" name="controller" value="clubs" />
<input type="hidden" name="view" value="club" />
<input type="hidden" name="task" value="" />
</table>
</form>
<?php
//print_r ($this);
?>
<p class="copyright">
		<?php echo lrAdmin::footer( ); ?>
</p>
	